<template>
	<hello-world v-if="true" />
	<div>获得的 id: {{ id }}</div>
</template>

<script setup>
import { ref, toRef } from 'vue'
const route = useRoute()
console.log(route)
const id = ref(route.params.id)
</script>

<style scoped></style>
